{#include main}
{#title}Static Resources{/title}
{#style}
.static{
margin-top: 5px;
}
{/style}
{#body}
 {#let folder=currentRequest.params.get("path")}
  <div class="row">
    <div class="col">
      {folder}
    </div>
  </div>
  {#for childOfFolder in info:staticResourceInfo.resourceMap.get(folder).children}
    <div class="row">
      <div class="col-1"></div>
      <div class="col">
        {#if !childOfFolder.isFolder}
          <i class="fas fa-file-alt" style="margin-right:5px; margin-top:5px"></i>
          <a class="static" href="{folder}/{childOfFolder.lastName}">
            {childOfFolder.lastName}
          </a>
        {#else}
          <i class="far fa-folder-open" style="margin-right:5px; margin-top:5px"></i>
          <a class="static" href="view?path={folder}/{childOfFolder.lastName}">
            {childOfFolder.lastName}
          </a>
        {/if}
      </div>
    </div>
    {/for}
 {/let}
{/body}
{/include}